package com.atfzr.mybatis_plusdatasource.service.impl;

import com.atfzr.mybatis_plusdatasource.mapper.ProductMapper;
import com.atfzr.mybatis_plusdatasource.pojo.Product;
import com.atfzr.mybatis_plusdatasource.service.ProductService;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @author 望夜
 * @date 2022/12/3---20:21
 * @SuppressWarnings({"all"})
 */
@Service
//指定数据源
@DS("slave_1")
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements ProductService {
}
